/*
 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
 */

package net.sourceforge.pmd.lang.java.rule.bestpractices.missingoverride;

/**
 * @author Clément Fournier
 * @since 6.2.0
 */
public enum EnumWithAnonClass {
    Foo {
        // missing
        public String toString() {
            return super.toString();
        }

        // missing
        public String getSomething() {
            return null;
        }
    };

    public Object getSomething() {
        return null;
    }
}
